package com.sc.nft.entity.dto;

import com.sc.nft.sup.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class DaoSchoolMaterialChildSaveAdminDTO extends PageRequest {

    @ApiModelProperty("子集id")
    @NotNull(message = "子集id不能为空")
    private Long schoolChildId;

    @ApiModelProperty("文章id")
    @NotNull(message = "文章id不能为空")
    private Long materialId;

    @ApiModelProperty("排序")
    @NotNull(message = "排序不能为空")
    private Integer sort;

}
